package com.sl.au.entity;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Transient;

/***
 * 
 * @author chuck
 * 20170202 合同签订前审批主表实体
 */
@Entity
@Table(name="tbExdeBeforeContract")
public class ExdeBeforeContract extends AuditRoot{
	
	/***
	 * 创建人部门
	 */
	private java.lang.String cCreateSuperior;
	
	/***
	 * 创建人片区
	 */
	private java.lang.String cCreateAreaName;
	
	/***
	 * 合同号
	 */
	private java.lang.String cContractCode;

	/***
	 * 订货单位
	 */
	private java.lang.String cOrderUnitName;
	
	/**
	 * 订货单位ID
	 */
	private java.lang.String customerId;
	
	public java.lang.String getCustomerId() {
		return customerId;
	}

	public void setCustomerId(java.lang.String customerId) {
		this.customerId = customerId;
	}

	/***
	 * 合同责任人
	 */
	private java.lang.String cDutyPersonName;

	/***
	 * 合同总价
	 */
	private float nContractPrice;
	/**
	 * 合同价格合计
	 */
	private float nTotalContractPrice;
	
	/***
	 * 项目名称
	 */
	private java.lang.String cProjectName;
	
	/***
	 * 预计签订日期
	 */
	private java.util.Date dPlanSignDate;
	
	/***
	 * 加减价比例
	 */
	private float nDisCountPercent;
	
	/***
	 * 运保费
	 */
	private float nDeliveryPrice;
	
	/***
	 * 服务费
	 */
	private float nServicePrice;

	/***
	 * 交货期描述
	 */
	private java.lang.String cDeliveryMemo;
	
	/***
	 * 质保期描述
	 */
	private java.lang.String cQualityMemo;
	
	/***
	 * 付款方式描述
	 */
	private java.lang.String cPayWayMemo;
	
	/***
	 * 是否有履约保函
	 */
	private java.lang.Boolean nIsHasPS;
	
	/***
	 * 是否有质量保函
	 */
	private java.lang.Boolean nIsHasQS;
	
	/***
	 * 是否有其它保函
	 */
	private java.lang.Boolean nIsHasOS;
	
	/***
	 * 履约保函是否银行标准格式
	 */
	private java.lang.Boolean nPSIsFormat;
	
	/***
	 * 质量保函是否银行标准格式
	 */
	private java.lang.Boolean nQSIsFormat;
	
	/***
	 * 其它保函是否银行标准格式
	 */
	private java.lang.Boolean nOSIsFormat;
	
	/***
	 * 是否有最终资料
	 */
	private java.lang.Boolean nIsHasFinnalData;
	
	/***
	 * 是否有送审资料
	 */
	private java.lang.Boolean nIsHasVerifyData;
	
	/***
	 * 最终资料说明
	 */
	private java.lang.String cFinnalDataMemo;
	
	/***
	 * 送审资料说明
	 */
	private java.lang.String cVerifyDataMemo;
	
	/***
	 * 违约责任说明
	 */
	private java.lang.String cLiabilityMemo;
	
	/***
	 * 其它注意条款说明
	 */ 
	//private java.lang.String cOtherClauseMemo;
	
	/***
	 * 售后注意条款说明
	 */
	private java.lang.String cAfterSaleClauseMemo;
	
	/***
	 * 是否预排图纸
	 */
	private java.lang.Boolean nIsBeforeDesign;
	
	/***
	 * 是否预排生产
	 */
	private java.lang.Boolean nIsBeforeProduce;
	
	/***
	 * 预排原因
	 */
	private java.lang.String cBeforeDPReason;
	
	/**
	 * user_id(创建人id)
	 */
	@ManyToOne
	@JoinColumn(unique = false)
	private User user;
	
	/***
	 * 会签状态 ：未完成、已完成、无须会签
	 */
	private java.lang.String cCounterSignState;
	
	/**附件个数 */
	@Transient
	private java.lang.Integer attachNumber;
	
	public java.lang.Integer getAttachNumber() {
		return attachNumber;
	}

	public void setAttachNumber(java.lang.Integer attachNumber) {
		this.attachNumber = attachNumber;
	}

	public float getnTotalContractPrice() {
		return nTotalContractPrice;
	}

	public void setnTotalContractPrice(float nTotalContractPrice) {
		this.nTotalContractPrice = nTotalContractPrice;
	}

	public float getnDisCountPercent() {
		return nDisCountPercent;
	}

	public void setnDisCountPercent(float nDisCountPercent) {
		this.nDisCountPercent = nDisCountPercent;
	}

	public float getnDeliveryPrice() {
		return nDeliveryPrice;
	}

	public void setnDeliveryPrice(float nDeliveryPrice) {
		this.nDeliveryPrice = nDeliveryPrice;
	}

	public float getnServicePrice() {
		return nServicePrice;
	}

	public void setnServicePrice(float nServicePrice) {
		this.nServicePrice = nServicePrice;
	}

	public ExdeBeforeContract(){
		this.cCounterSignState = "未完成";
	}

	public java.lang.String getcCounterSignState() {
		return cCounterSignState;
	}

	public void setcCounterSignState(java.lang.String cCounterSignState) {
		this.cCounterSignState = cCounterSignState;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public java.lang.String getcContractCode() {
		return cContractCode;
	}

	public void setcContractCode(java.lang.String cContractCode) {
		this.cContractCode = cContractCode;
	}

	public java.lang.String getcOrderUnitName() {
		return cOrderUnitName;
	}

	public void setcOrderUnitName(java.lang.String cOrderUnitName) {
		this.cOrderUnitName = cOrderUnitName;
	}

	public java.lang.String getcDutyPersonName() {
		return cDutyPersonName;
	}

	public void setcDutyPersonName(java.lang.String cDutyPersonName) {
		this.cDutyPersonName = cDutyPersonName;
	}

	public float getnContractPrice() {
		return nContractPrice;
	}

	public void setnContractPrice(float nContractPrice) {
		this.nContractPrice = nContractPrice;
	}

	public java.lang.String getcProjectName() {
		return cProjectName;
	}

	public void setcProjectName(java.lang.String cProjectName) {
		this.cProjectName = cProjectName;
	}

	public java.util.Date getdPlanSignDate() {
		return dPlanSignDate;
	}

	public void setdPlanSignDate(java.util.Date dPlanSignDate) {
		this.dPlanSignDate = dPlanSignDate;
	}


	public java.lang.String getcDeliveryMemo() {
		return cDeliveryMemo;
	}

	public void setcDeliveryMemo(java.lang.String cDeliveryMemo) {
		this.cDeliveryMemo = cDeliveryMemo;
	}

	public java.lang.String getcQualityMemo() {
		return cQualityMemo;
	}

	public void setcQualityMemo(java.lang.String cQualityMemo) {
		this.cQualityMemo = cQualityMemo;
	}

	public java.lang.String getcPayWayMemo() {
		return cPayWayMemo;
	}

	public void setcPayWayMemo(java.lang.String cPayWayMemo) {
		this.cPayWayMemo = cPayWayMemo;
	}

	public java.lang.Boolean getnIsHasPS() {
		return nIsHasPS;
	}

	public void setnIsHasPS(java.lang.Boolean nIsHasPS) {
		this.nIsHasPS = nIsHasPS;
	}

	public java.lang.Boolean getnIsHasQS() {
		return nIsHasQS;
	}

	public void setnIsHasQS(java.lang.Boolean nIsHasQS) {
		this.nIsHasQS = nIsHasQS;
	}

	public java.lang.Boolean getnIsHasOS() {
		return nIsHasOS;
	}

	public void setnIsHasOS(java.lang.Boolean nIsHasOS) {
		this.nIsHasOS = nIsHasOS;
	}

	public java.lang.Boolean getnPSIsFormat() {
		return nPSIsFormat;
	}

	public void setnPSIsFormat(java.lang.Boolean nPSIsFormat) {
		this.nPSIsFormat = nPSIsFormat;
	}

	public java.lang.Boolean getnQSIsFormat() {
		return nQSIsFormat;
	}

	public void setnQSIsFormat(java.lang.Boolean nQSIsFormat) {
		this.nQSIsFormat = nQSIsFormat;
	}

	public java.lang.Boolean getnOSIsFormat() {
		return nOSIsFormat;
	}

	public void setnOSIsFormat(java.lang.Boolean nOSIsFormat) {
		this.nOSIsFormat = nOSIsFormat;
	}

	public java.lang.Boolean getnIsHasFinnalData() {
		return nIsHasFinnalData;
	}

	public void setnIsHasFinnalData(java.lang.Boolean nIsHasFinnalData) {
		this.nIsHasFinnalData = nIsHasFinnalData;
	}

	public java.lang.Boolean getnIsHasVerifyData() {
		return nIsHasVerifyData;
	}

	public void setnIsHasVerifyData(java.lang.Boolean nIsHasVerifyData) {
		this.nIsHasVerifyData = nIsHasVerifyData;
	}

	public java.lang.String getcFinnalDataMemo() {
		return cFinnalDataMemo;
	}

	public void setcFinnalDataMemo(java.lang.String cFinnalDataMemo) {
		this.cFinnalDataMemo = cFinnalDataMemo;
	}

	public java.lang.String getcVerifyDataMemo() {
		return cVerifyDataMemo;
	}

	public void setcVerifyDataMemo(java.lang.String cVerifyDataMemo) {
		this.cVerifyDataMemo = cVerifyDataMemo;
	}

	public java.lang.String getcLiabilityMemo() {
		return cLiabilityMemo;
	}

	public void setcLiabilityMemo(java.lang.String cLiabilityMemo) {
		this.cLiabilityMemo = cLiabilityMemo;
	}

	public java.lang.String getcAfterSaleClauseMemo() {
		return cAfterSaleClauseMemo;
	}

	public void setcAfterSaleClauseMemo(java.lang.String cAfterSaleClauseMemo) {
		this.cAfterSaleClauseMemo = cAfterSaleClauseMemo;
	}

	public java.lang.Boolean getnIsBeforeDesign() {
		return nIsBeforeDesign;
	}

	public void setnIsBeforeDesign(java.lang.Boolean nIsBeforeDesign) {
		this.nIsBeforeDesign = nIsBeforeDesign;
	}

	public java.lang.Boolean getnIsBeforeProduce() {
		return nIsBeforeProduce;
	}

	public void setnIsBeforeProduce(java.lang.Boolean nIsBeforeProduce) {
		this.nIsBeforeProduce = nIsBeforeProduce;
	}

	public java.lang.String getcBeforeDPReason() {
		return cBeforeDPReason;
	}

	public void setcBeforeDPReason(java.lang.String cBeforeDPReason) {
		this.cBeforeDPReason = cBeforeDPReason;
	}
	
	public java.lang.String getcCreateSuperior() {
		return cCreateSuperior;
	}

	public void setcCreateSuperior(java.lang.String cCreateSuperior) {
		this.cCreateSuperior = cCreateSuperior;
	}

	public java.lang.String getcCreateAreaName() {
		return cCreateAreaName;
	}

	public void setcCreateAreaName(java.lang.String cCreateAreaName) {
		this.cCreateAreaName = cCreateAreaName;
	}

	
}
